#ifndef __IMAGE2LCD_H
#define __IMAGE2LCD_H

__packed typedef struct _HEADCOLOR
{
   unsigned char scan;
   unsigned char gray;
   unsigned short w;
   unsigned short h;
   unsigned char is565;
   unsigned char rgb;
}HEADCOLOR;  

void image_display(uint16_t x,uint16_t y, uint8_t * imgx); //指定位置显示一个图
void image_show(uint16_t xsta,uint16_t ysta,uint16_t xend,uint16_t yend,uint8_t scan,uint8_t *p);//在液晶上画图
uint16_t image_getcolor(uint8_t mode,uint8_t *str); //从八位数据获得十六位的颜色
void Time_DisPlay(uint8_t ON);
void Speed_DisPlay(uint8_t ON);
//void Pressure_DisPlay(uint8_t ON);
void LCD_DisPlay(void);
void LCD_DisPlay_Init(void);
#endif













